/*
 * Expression.h
 *
 *  Created on: Aug 5, 2009
 *      Author: ramesh
 */

#ifndef _COMPOSER_EXPRESSION_H_
#define _COMPOSER_EXPRESSION_H_

#include "Context.h"

#include "../../Shared.h"


namespace SymphonyAST {


class Expression : public Context {
public:
	string lvalue;
	string op;
	string parentOpFlag;

	Expression() { }
	Expression(const string& operand, const string& op);

	string getId() {
		return "exp";
	}

	Variable* getLVar();
};


}

#endif /* _COMPOSER_EXPRESSION_H_ */
